package com.guli.coupon.feign;

import com.guli.common.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @Author zzb
 * @Date 2024/6/8 11:05
 * @Version 1.0
 * @description
 */
@Repository
@FeignClient("product-service")
public interface ProductFeignService {

    @GetMapping("/product/skuinfo/info/{skuids}")
    public R skuInfos(@PathVariable List<Long> skuids);
}
